home *** CD-ROM | disk | FTP | other *** search
- /* %filename% -- document methods */
- /* Created %date% %time% by AppMaker */
-
- /* This module overrides the AppMaker-generated code in z%Appname%Doc.% %*/
- /* It provides a place for you to add your own code and still be able to */
- /* generate code for new changes to the user interface. This module will */
- /* not be regenerated by AppMaker unless you delete it. Its superclass, */
- /* z%Appname%Doc, may be regenerated to handle user interface changes % %*/
- /* without losing your hand-coded changes to this module. */
-
- #include <Commands.h>
- #include <CBartender.h>
- #include "ResourceDefs.h"
- #include "%Appname%Data.h"
- %for each menu gen includeDocDialogs%
- #include "%Appname%Doc.h"
-
- extern CBartender *gBartender; /* The menu handling object */
-
- /*----------*/
- void C%Appname%Doc::I%Appname%Doc% %(CApplication *aSupervisor,
- Boolean printable)
- {
- inherited::I%Appname%Doc (aSupervisor, printable);
-
- // your application-specific initialization:
-
- } /* I%Appname%Doc */
-
- /*----------*/
- void C%Appname%Doc::UpdateMenus (void)
- {
- inherited::UpdateMenus ();
- %for each menu gen updateDocMenus%
-
- } /* UpdateMenus */
-
- /*----------*/
- void C%Appname%Doc::DoCommand (long theCommand)
- {
- switch (theCommand) {
- %for each menu gen handleDocItems%
-
- default:
- inherited::DoCommand (theCommand);
- break;
- } /* switch */
-
- } /* DoCommand */
-
- /* %filename% */
-